/*
 * @Author: ljkt
 * @Version: 1.1
 * @Date: 2024-11-01 14:30:38
 * @LastEditors: ljkt
 * @LastEditTime: 2025-03-24 20:07:54
 * @Description:
 */

#include "./Common_Include.h"
#ifdef EN_TIMER0
extern void Timer0_ISR();
TIMER0_ISR()
{
    ENTER_ISR_PUSH();
    Hal_Tmr0_IF_Clr_Isr();
    DRV_SYSTICK_ADD_ISR();
    EXIT_ISR_POP();
}
#endif
#ifdef EN_TIMER1
TIMER1_ISR()
{
    ENTER_ISR_PUSH();
    Hal_Tmr1_IF_Clr_Isr();
    EXIT_ISR_POP();
}
#endif
#ifdef EN_TIMER2
TIMER2_ISR()
{
    ENTER_ISR_PUSH();
    Hal_Tmr2_IF_Clr_Isr();
    EXIT_ISR_POP();
}
#endif
#ifdef EN_TIMER3
TIMER3_ISR()
{
    ENTER_ISR_PUSH();
    Hal_Tmr3_IF_Clr_Isr();
    DRV_SYSTICK_ADD_ISR();
    EXIT_ISR_POP();
}
#endif

#ifdef EN_UART0
UART0_ISR()
{
    ENTER_ISR_PUSH();
    Drv_Uart0_Buf_Isr();
    EXIT_ISR_POP();
}
#endif

#ifdef EN_UART1
UART1_ISR()
{
    ENTER_ISR_PUSH();
    Drv_Uart1_Buf_Isr();
    EXIT_ISR_POP();
}
#endif
#ifdef EN_UART2
UART2_ISR()
{
    ENTER_ISR_PUSH();
    Drv_Uart2_Buf_Isr();
    EXIT_ISR_POP();
}
#endif

#ifdef EN_UART3
UART3_ISR()
{
    ENTER_ISR_PUSH();
    Drv_Uart3_Buf_Isr();
    EXIT_ISR_POP();
}
#endif